home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
comms
/
term
/
extras
/
hydracom
/
hydracom-source.lha
/
makefile.bc
< prev
next >
Wrap
Makefile
|
1994-01-19
|
3KB
|
90 lines
#==============================================================================
#
# HydraCom Version 1.00
#
# A sample implementation of the
# HYDRA Bi-Directional File Transfer Protocol
#
# HydraCom was written by
# Arjen G. Lentz, LENTZ SOFTWARE-DEVELOPMENT
# COPYRIGHT (C) 1991-1993; ALL RIGHTS RESERVED
#
# The HYDRA protocol was designed by
# Arjen G. Lentz, LENTZ SOFTWARE-DEVELOPMENT and
# Joaquim H. Homrighausen
# COPYRIGHT (C) 1991-1993; ALL RIGHTS RESERVED
#
#
# Revision history:
# 06 Sep 1991 - (AGL) First tryout
# .. ... .... - Internal development
# 11 Jan 1993 - HydraCom version 1.00, Hydra revision 001 (01 Dec 1992)
#
#
# For complete details of the Hydra and HydraCom licensing restrictions,
# please refer to the license agreements which are published in their entirety
# in HYDRACOM.C and LICENSE.DOC, and also contained in the documentation file
# HYDRACOM.DOC
#
# Use of this file is subject to the restrictions contained in the Hydra and
# HydraCom licensing agreements. If you do not find the text of this agreement
# in any of the aforementioned files, or if you do not have these files, you
# should immediately contact LENTZ SOFTWARE-DEVELOPMENT and/or Joaquim
# Homrighausen at one of the addresses listed below. In no event should you
# proceed to use this file without having accepted the terms of the Hydra and
# HydraCom licensing agreements, or such other agreement as you are able to
# reach with LENTZ SOFTWARE-DEVELOMENT and Joaquim Homrighausen.
#
#
# Hydra protocol design and HydraCom driver: Hydra protocol design:
# Arjen G. Lentz Joaquim H. Homrighausen
# LENTZ SOFTWARE-DEVELOPMENT 389, route d'Arlon
# Langegracht 7B L-8011 Strassen
# 3811 BT Amersfoort Luxembourg
# The Netherlands
# FidoNet 2:283/512, AINEX-BBS +31-33-633916 FidoNet 2:270/17
# arjen_lentz@f512.n283.z2.fidonet.org joho@ae.lu
#
# Please feel free to contact us at any time to share your comments about our
# software and/or licensing policies.
#
#==============================================================================
# Makefile to compile HydraCom with Borland C, adapt for your compiler flavour
.RESPONSE_LINK: tlink link
# Compiler flags: C=Compiler, T=Assembler, L=Linker
# MODEL=Memory Model (small!)
MODEL = s
TMODEL = small
CFLAGS = -c -m$(MODEL) -f- -G -O -Z -d -w+ -H=HYDRACOM.SYM -D__PROTO__
TFLAGS = /mx /v /z /zi /w2 /DMODL=$(TMODEL)
LFLAGS = /x/c/d
# Object files that TC/BC is responsible for generating:
HYDRA = hydracom.obj hydra.obj fmisc.obj misc.obj dos_file.obj syspc.obj
# Object files that TASM is responsible for generating:
TOBJS = async.obj
# Dependency list for executables, and LINK command lines
all: hydracom.exe
hydracom.exe: $(HYDRA) $(TOBJS)
tlink $(LFLAGS) c0$(MODEL) $(HYDRA) $(TOBJS),$*,NUL,C$(MODEL);
# Dependencies for .C files and compiler line to generate 'em.
$(HYDRA): $*.c hydracom.h
bcc $(CFLAGS) $*.c
# Modules with special includes here
hydra.obj: hydra.h
# Dependencies for .ASM files and compiler line to generate 'em.
$(TOBJS): $*.asm
tasm $(TFLAGS) $*;
# end of makefile